package com.fbt.andon.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.ruoyi.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 小组表
 * </p>
 *
 * @author 冯涛
 * @since 2021-09-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Group对象", description="小组表")
public class LittleGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id(小组号)")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "所属产线编号(外键）")
    private Integer lineId;

    @ApiModelProperty(value = "小组号")
    @Excel(name = "小组号", cellType = Excel.ColumnType.NUMERIC)
    private String groupNumber;

    @ApiModelProperty(value = "小组名")
    @Excel(name = "小组名", cellType = Excel.ColumnType.NUMERIC)
    private String groupName;

    @ApiModelProperty(value = "状态")
    @Excel(name = "状态", cellType = Excel.ColumnType.NUMERIC)
    private String isStatus;

    @ApiModelProperty(value = "联系电话")
    @Excel(name = "联系电话", cellType = Excel.ColumnType.NUMERIC)
    private String phone;

    @ApiModelProperty(value = "小组负责人")
    @Excel(name = "小组负责人", cellType = Excel.ColumnType.NUMERIC)
    private String principal;

//    @ApiModelProperty(value = "该小组所拥有的人员数")
//    private Integer ownLine;
//
    @ApiModelProperty(value = "备注")
    @Excel(name = "备注", cellType = Excel.ColumnType.NUMERIC)
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建者")
    private String createUser;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改者")
    private String updateUser;



}
